From: Matthieu Gallien Date: Thu, 13 Mar 2025 11:29:17 +0000 (+0100) Subject: remove gcc and clang build checks X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~1^2~8^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=79bd6d738153f89b3a57b3376836a0a8270e1dfd;p=nextcloud-desktop.git remove gcc and clang build checks they are redondant apart from the end-to-end tests those end-to-end tests were never reliable and regularly fail removing the usefulness of running them Signed-off-by: Matthieu Gallien --- diff --git a/.drone.yml b/.drone.yml index 8aeff47b5..8e58c2c57 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,151 +1,3 @@ ---- -kind: pipeline -name: drone desktop client - -steps: -- name: cmake - image: ghcr.io/nextcloud/continuous-integration-client-qt6:client-6.8.1-2 - volumes: - - name: build - path: /drone/build - commands: - - cd /drone/build - - cmake /drone/src -G Ninja -DCMAKE_PREFIX_PATH=/opt/qt -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 -DCMAKE_BUILD_TYPE=Debug -DQT_MAJOR_VERSION=6 -DQUICK_COMPILER=ON -DBUILD_UPDATER=ON -DBUILD_TESTING=1 -DCMAKE_CXX_FLAGS=-Werror -DOPENSSL_ROOT_DIR=/usr/local/lib64 -DADD_E2E_TESTS=ON - -- name: compile - image: ghcr.io/nextcloud/continuous-integration-client-qt6:client-6.8.1-2 - volumes: - - name: build - path: /drone/build - commands: - - cd /drone/build - - ninja - -- name: test - image: ghcr.io/nextcloud/continuous-integration-client-qt6:client-6.8.1-2 - volumes: - - name: build - path: /drone/build - commands: - - cd /drone/build - - ../src/admin/test/wait_for_server.sh "server" - - useradd -m -s /bin/bash test - - chown -R test:test . - - su -c 'xvfb-run ctest --output-on-failure' test - -services: - - name: server - image: ghcr.io/nextcloud/continuous-integration-shallow-server:latest # also change in updateScreenshots.sh - environment: - EVAL: true - SERVER_VERSION: 'stable30' - commands: - - BRANCH="$SERVER_VERSION" /usr/local/bin/initnc.sh - - echo 127.0.0.1 server >> /etc/hosts - - apt-get update && apt-get install -y composer - - su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1" - - su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2" - - su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3" - - su www-data -c "php /var/www/html/occ user:setting user2 files quota 1G" - - su www-data -c "php /var/www/html/occ group:add users" - - su www-data -c "php /var/www/html/occ group:adduser users user1" - - su www-data -c "php /var/www/html/occ group:adduser users user2" - - su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/activity.git /var/www/html/apps/activity/" - - su www-data -c "php /var/www/html/occ app:enable activity" - - su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/text.git /var/www/html/apps/text/" - - su www-data -c "php /var/www/html/occ app:enable text" - - su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/end_to_end_encryption.git /var/www/html/apps/end_to_end_encryption/" - - su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption" - - su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/photos.git /var/www/html/apps/photos/" - - su www-data -c "cd /var/www/html/apps/photos; composer install" - - su www-data -c "php /var/www/html/occ app:enable -f photos" - - /usr/local/bin/run.sh - -volumes: -- name: build - temp: {} - -trigger: - branch: - - master - - stable-* - event: - - pull_request - - push - ---- -kind: pipeline -name: qt-5.15-clang - -steps: -- name: cmake - image: ghcr.io/nextcloud/continuous-integration-client-qt6:client-6.8.1-2 - volumes: - - name: build - path: /drone/build - commands: - - cd /drone/build - - cmake /drone/src -G Ninja -DCMAKE_PREFIX_PATH=/opt/qt -DCMAKE_C_COMPILER=clang-14 -DCMAKE_CXX_COMPILER=clang++-14 -DCMAKE_BUILD_TYPE=Debug -DQT_MAJOR_VERSION=6 -DQUICK_COMPILER=ON -DBUILD_UPDATER=ON -DBUILD_TESTING=1 -DCMAKE_CXX_FLAGS=-Werror -DOPENSSL_ROOT_DIR=/usr/local/lib64 -DADD_E2E_TESTS=ON -- name: compile - image: ghcr.io/nextcloud/continuous-integration-client-qt6:client-6.8.1-2 - volumes: - - name: build - path: /drone/build - commands: - - cd /drone/build - - ninja -- name: test - image: ghcr.io/nextcloud/continuous-integration-client-qt6:client-6.8.1-2 - volumes: - - name: build - path: /drone/build - commands: - - cd /drone/build - - ../src/admin/test/wait_for_server.sh "server" - - useradd -m -s /bin/bash test - - chown -R test:test . - - su -c 'xvfb-run ctest --output-on-failure' test - -services: - - name: server - image: ghcr.io/nextcloud/continuous-integration-shallow-server:latest # also change in updateScreenshots.sh - environment: - EVAL: true - SERVER_VERSION: 'stable30' - commands: - - BRANCH="$SERVER_VERSION" /usr/local/bin/initnc.sh - - echo 127.0.0.1 server >> /etc/hosts - - apt-get update && apt-get install -y composer - - su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1" - - su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2" - - su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3" - - su www-data -c "php /var/www/html/occ user:setting user2 files quota 1G" - - su www-data -c "php /var/www/html/occ group:add users" - - su www-data -c "php /var/www/html/occ group:adduser users user1" - - su www-data -c "php /var/www/html/occ group:adduser users user2" - - su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/activity.git /var/www/html/apps/activity/" - - su www-data -c "php /var/www/html/occ app:enable activity" - - su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/text.git /var/www/html/apps/text/" - - su www-data -c "php /var/www/html/occ app:enable text" - - su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/end_to_end_encryption.git /var/www/html/apps/end_to_end_encryption/" - - su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption" - - su www-data -c "git clone -b $SERVER_VERSION https://github.com/nextcloud/photos.git /var/www/html/apps/photos/" - - su www-data -c "cd /var/www/html/apps/photos; composer install" - - su www-data -c "php /var/www/html/occ app:enable -f photos" - - /usr/local/bin/run.sh - -volumes: -- name: build - temp: {} - -trigger: - branch: - - master - - stable-* - event: - - pull_request - - push - --- kind: pipeline name: Debian @@ -168,5 +20,5 @@ trigger: - push --- kind: signature -hmac: 4296d3beb6775fd1589c30b86412298de4f67e9791843c7bb484fc6d5bb01e4e +hmac: e8978756454c02822b9b6b1b05013594fc5a6db04ac18537ef696fbf49700f7e ...